package com.njtoyo.taxi.admin.rest.wrapper.marketing.seckill;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.mapper.master.entity.ActivitySeckillAward;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Objects;

@Data
@ApiModel("奖项筛选列表")
public class AwardListWrapper extends Page<ActivitySeckillAward> {
    public AwardListWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty("奖项名称")
    private String name;

    @ApiModelProperty("是否在线")
    private Boolean isOnline;

    private Long activityId;
}
